package com.xcx.eduservice.request.logrequest;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
public class RegisterRequest {
    @ApiModelProperty(name = "nickname",value = "昵称",example = "测试用户001")
    private String nickname;
    @ApiModelProperty(name = "mobile",value = "手机号",required = true)
    @NotBlank(message = "电话号码未填写")
    private String mobile;
    @ApiModelProperty(name = "password",value = "密码",required = true)
    private String password;
    @ApiModelProperty(name = "code",value = "验证码，需要先调用短信接口获取验证码",required = true)
    @NotBlank(message = "验证码未填写")
    private String code;

}
